home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 2
/
Atari Mega Archive CD - Volume 2.iso
/
minix
/
up1510b.tgz
/
up1510b
/
src
/
lib
/
posix
/
getppid.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-21
|
159b
|
11 lines
#include <lib.h>
PUBLIC int getppid()
{
int p;
p = callm1(MM, GETPID, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
if (p < 0) return(p);
return(_M.m2_i1);
}